package com.zelix;

import java.util.*;

public class ry implements Enumeration {

    private Vector a;
    private int b;

    public ry(qy qy1) {
        super();
        Enumeration enumeration;
        int i;
        a = new Vector(50);
        enumeration = qy1.a.elements();
        while (enumeration.hasMoreElements()) {
            Enumeration enumeration1 = ((Vector) enumeration.nextElement()).elements();
            while (enumeration1.hasMoreElements()) {
                a.addElement(enumeration1.nextElement());
            }
        }
        a();
    }

    public boolean a(Object obj) {
        return a.contains(obj);
    }

    public boolean hasMoreElements() {
        return b < a.size();
    }

    public Object nextElement() {
        return a.elementAt(b++);
    }

    public void a() {
        b = 0;
    }
}